<?php get_header() ?>

		<div id="container">
			<div id="content">
<?php while ( have_posts() ) : the_post() ?>

				<div id="post-<?php the_ID() ?>" class="post">

					<div class="entry-date">
						<abbr class="published" title="<?php unset($previousday);printf('%1$s, %2$s', the_date('', '', '', false), get_the_time()) ?>">
							<div class="post-year"><?php the_time('Y') ?></div>
							<div class="post-date"><?php the_time('d') ?></div>
							<div class="post-month"><?php the_time('M') ?></div>
						</abbr>
					</div><!-- .entry-date -->

					<h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf('%s 的永久链接', wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h2>
					<div class="comments-link"><?php edit_post_link('编辑日志', "\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>"); ?>
<?php echo "\n\t\t\t\t\t\t";comments_popup_link('尚无评论', '沙发已被占领', '% 条评论');echo "\n"; ?>
					</div><!-- .comments-link -->

					<div class="entry-content">
						<?php the_content('详细内容 <span class="meta-nav">&raquo;</span>'); ?><?php wp_link_pages('<div class=\'page-link\'>分页: ', "</div>\n", 'number'); ?>
					</div><!-- .entry-content -->

					<div class="entry-meta">
<?php the_tags("\t\t\t\t\t\t<span class=\"tag-links\">标签: ", ", ", "</span>\n"); ?>
						<span class="author"><?php printf('本文由 %s', '<a class="author-link" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf('查看所有由 %s 发表的文章', $authordata->display_name) . '">'.get_the_author().'</a>') ?></span>
						<span class="meta-sep">|</span>
						<span class="cat-links"><?php printf('归类在 %s', get_the_category_list(', ')) ?></span>
					</div><!-- .entry-meta -->

				</div><!-- .post -->

<?php comments_template() ?>
<?php endwhile ?>
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
			</div><!-- #content -->
		</div><!-- #container -->

<?php get_sidebar() ?>
<?php get_footer() ?>